package com.example.proxy.staticproxy;

public class StaticProxyClass implements StaticProxyInterface {

    private StaticProxyInterface staticProxyInterface;

    public StaticProxyClass(StaticProxyInterface staticProxyInterface){
        this.staticProxyInterface=staticProxyInterface;
    }

    @Override
    public String operate() {
        System.out.println("STATICPROXY  执行一些其他需要的代码");
        this.staticProxyInterface.operate();
        return "";
    }
}
